﻿namespace com.fukefu
{
    public static class Config
    {
        private static string sql_url = "192.168.153.155";
        private static string sql_name = "sa";
        private static string sql_pass = "123456";
        private static string sql_database = "全局设置";
        private static string pic_path = "图片\\" + sql_database;
        private static int publicDays = 5;

        public static string Sql_url
        {
            get { return sql_url; }
        }
        public static string Sql_name
        {
            get { return sql_name; }
        }
        public static string Sql_pass
        {
            get { return sql_pass; }
        }
        public static string Sql_database
        {
            get { return sql_database; }
            set
            {
                sql_database = value;
                pic_path = "图片\\" + sql_database;
            }
        }
        public static string Pic_path
        {
            get { return pic_path; }
        }
        public static int PublicDays
        {
            get { return publicDays; }
        }
    }
}